/**
 * Project Name:fire-industry-DM-center
 * File Name:DmMapGmpApprove.java
 * Package Name:com.firestone.bean.entity.elasticsearch.dm
 * Date:2018年4月18日下午1:35:01
 *
*/

package com.firestone.bean.entity.elasticsearch.dm;

import java.io.Serializable;
import java.util.List;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
import org.springframework.data.elasticsearch.annotations.Setting;

import com.firestone.bean.entity.elasticsearch.nested.WeightJson;

/**
 * @Description: TODO(GMP认证表)
 * @author lvxc
 * @date 2018年4月18日 下午1:35:01
 */
@Document(indexName = "dm_map_gmp_approve", type = "index", createIndex = false)
@Setting(settingPath = "/setting/setting.json")
public class DmMapGmpApprove implements Serializable{

    private static final long serialVersionUID = 1L;
    
    @Id
    private String id;
    /**
     * @Fields SYS_add_time : TODO(添加时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_add_time;

    /**
     * @Fields SYS_check_time : TODO(检验时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_check_time;

    /**
     * @Fields SYS_dm_update_time : TODO(更改时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_dm_update_time;
    
    /**
     * @Fields GMP_issuing_date : TODO(发证日期)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd")
    private String GMP_issuing_date;
    
    /**
     * @Fields GMP_version : TODO(认证GMP版本)
     */
    @Field(type = FieldType.keyword)
    private String GMP_version;
    
    /**
     * @Fields address_english : TODO(英文地址)
     */
    @Field(type = FieldType.keyword)
    private String address_english;
    
    /**
     * @Fields certificate_number : TODO(GMP证书编号)
     */
    @Field(type = FieldType.keyword)
    private String certificate_number;
    
    /**
     * @Fields certificate_scope : TODO(认证范围)
     */
    @Field(type = FieldType.keyword)
    private String certificate_scope;
    
    /**
     * @Fields certificate_scope_english : TODO(英文范围)
     */
    @Field(type = FieldType.keyword)
    private String certificate_scope_english;
    
    /**
     * @Fields continue_date : TODO(批准延续日期)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd")
    private String continue_date;
    
    /**
     * @Fields continue_scope : TODO(批准延续的认证范围)
     */
    @Field(type = FieldType.keyword)
    private String continue_scope;
    
    /**
     * @Fields effective_continue_to : TODO(有效期延续至)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd")
    private String effective_continue_to;
    
    /**
     * @Fields issuing_agence : TODO(发证机关)
     */
    @Field(type = FieldType.keyword)
    private String issuing_agence;
    
    /**
     * @Fields issuing_agence_english : TODO(英文发证机关)
     */
    @Field(type = FieldType.keyword)
    private String issuing_agence_english;
    
    /**
     * @Fields name : TODO(企业名称)
     */
    @Field(type = FieldType.keyword)
    private String name;
    
    /**
     * @Fields name_english : TODO(英文名称)
     */
    @Field(type = FieldType.keyword)
    private String name_english;
    
    /**
     * @Fields production_address : TODO(地址)
     */
    @Field(type = FieldType.keyword)
    private String production_address;
    
    /**
     * @Fields province_city : TODO(省市)
     */
    @Field(type = FieldType.keyword)
    private String province_city;
    
    /**
     * @Fields remark : TODO(备注)
     */
    @Field(type = FieldType.keyword)
    private String remark;
    
    /**
     * @Fields validity_expire_date : TODO(有效期截止日)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd")
    private String validity_expire_date;
    
    /**
     * @Fields weight_json : TODO(字段来源)
     */
    @Field(type = FieldType.Nested)
    private List<WeightJson> weight_json;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSYS_add_time() {
        return SYS_add_time;
    }

    public void setSYS_add_time(String sYS_add_time) {
        SYS_add_time = sYS_add_time;
    }

    public String getSYS_check_time() {
        return SYS_check_time;
    }

    public void setSYS_check_time(String sYS_check_time) {
        SYS_check_time = sYS_check_time;
    }

    public String getSYS_dm_update_time() {
        return SYS_dm_update_time;
    }

    public void setSYS_dm_update_time(String sYS_dm_update_time) {
        SYS_dm_update_time = sYS_dm_update_time;
    }

    public String getGMP_issuing_date() {
        return GMP_issuing_date;
    }

    public void setGMP_issuing_date(String gMP_issuing_date) {
        GMP_issuing_date = gMP_issuing_date;
    }

    public String getGMP_version() {
        return GMP_version;
    }

    public void setGMP_version(String gMP_version) {
        GMP_version = gMP_version;
    }

    public String getAddress_english() {
        return address_english;
    }

    public void setAddress_english(String address_english) {
        this.address_english = address_english;
    }

    public String getCertificate_number() {
        return certificate_number;
    }

    public void setCertificate_number(String certificate_number) {
        this.certificate_number = certificate_number;
    }

    public String getCertificate_scope() {
        return certificate_scope;
    }

    public void setCertificate_scope(String certificate_scope) {
        this.certificate_scope = certificate_scope;
    }

    public String getCertificate_scope_english() {
        return certificate_scope_english;
    }

    public void setCertificate_scope_english(String certificate_scope_english) {
        this.certificate_scope_english = certificate_scope_english;
    }

    public String getContinue_date() {
        return continue_date;
    }

    public void setContinue_date(String continue_date) {
        this.continue_date = continue_date;
    }

    public String getContinue_scope() {
        return continue_scope;
    }

    public void setContinue_scope(String continue_scope) {
        this.continue_scope = continue_scope;
    }

    public String getEffective_continue_to() {
        return effective_continue_to;
    }

    public void setEffective_continue_to(String effective_continue_to) {
        this.effective_continue_to = effective_continue_to;
    }

    public String getIssuing_agence() {
        return issuing_agence;
    }

    public void setIssuing_agence(String issuing_agence) {
        this.issuing_agence = issuing_agence;
    }

    public String getIssuing_agence_english() {
        return issuing_agence_english;
    }

    public void setIssuing_agence_english(String issuing_agence_english) {
        this.issuing_agence_english = issuing_agence_english;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName_english() {
        return name_english;
    }

    public void setName_english(String name_english) {
        this.name_english = name_english;
    }

    public String getProduction_address() {
        return production_address;
    }

    public void setProduction_address(String production_address) {
        this.production_address = production_address;
    }

    public String getProvince_city() {
        return province_city;
    }

    public void setProvince_city(String province_city) {
        this.province_city = province_city;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getValidity_expire_date() {
        return validity_expire_date;
    }

    public void setValidity_expire_date(String validity_expire_date) {
        this.validity_expire_date = validity_expire_date;
    }

    public List<WeightJson> getWeight_json() {
        return weight_json;
    }

    public void setWeight_json(List<WeightJson> weight_json) {
        this.weight_json = weight_json;
    }
    

}

